<%--
  Created by IntelliJ IDEA.
  User: 匹诺曹
  Date: 2023/12/14
  Time: 9:16
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
    <title>固废通</title>
    <link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/static/assets/css/bootstrap.min.css">
    <link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/static/assets/libs/icheck/skins/all.css">
    <link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/static/assets/css/iconfont.css">
    <link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/static/assets/css/style.css">
    <style>
        .dl{
            margin-left: 130px;
        }
        .dl button{
            border-radius: 5px;
        }
        .error{
            margin-left: 100px;
        }
    </style>
</head>
<body class="login-page">
<div class="login-wrapper">
    <div class="header skew">
    </div>
    <div class="login-logo">
        <a href="../index.html">
            <strong>登录</strong>
        </a>
    </div>
    <div class="login-body">
        <p class="text-primary text-center">欢迎使用固废</p>
        <div class="form">
            <form method="post" action="${pageContext.request.contextPath}/login/in">
                <div class="form-group">
                    <div class="input-group">
                    	<span class="input-group-addon">
                    		<i class="iconfont icon-login-user"></i>
                    	</span>
                        <input type="text" class="form-control" name="username" placeholder="输入用户名/电子邮箱">
                    </div>
                </div>
                <div class="form-group">
                    <div class="input-group">
                		<span class="input-group-addon">
                			<i class="iconfont icon-lock"></i>
                		</span>
                        <input type="password" class="form-control" name="password" placeholder="输入密码">
                    </div>
                </div>
                <div class="form-group">
                    <span class="error">${error}</span>
                    <div class="row">
                        <div class="col-xs-7">
	                		<%--<span>
	                			<input type="checkbox" class="minimal">
		                        	记住密码
		                     </span>--%>
                        </div>
                        <div class="col-xs-5">
                                <%--<span class="pull-right">
                                    <a href="#">忘记密码?</a>
                                </span>--%>
                        </div>
                    </div>
                </div>
                <div class="form-group">
                    <label class="dl">
                        <button type="submit" class="btn btn-primary">登录</button>
                    </label>
                </div>
            </form>
            <p class="text-center">
                <a href="${pageContext.request.contextPath}/login/register">没有账号?前往注册账号</a>
            </p>
        </div>
    </div>
</div>

<script type="text/javascript" src="../assets/js/jquery-2.1.0.min.js"></script>
<script type="text/javascript" src="../assets/js/jquery-ui.min.js"></script>
<script type="text/javascript" src="../assets/js/bootstrap.min.js"></script>
<!-- icheck.js -->
<script type="text/javascript" src="../assets/libs/icheck/icheck.min.js"></script>
<script type="text/javascript" src="../assets/js/alpha.js"></script>
<script type="text/javascript">
    $('input[type="checkbox"].minimal, input[type="radio"].minimal').iCheck({
        checkboxClass: 'icheckbox_minimal-blue',
        radioClass: 'iradio_minimal-blue'
    })
</script>
</body>
</html>
